]> dgit.raspbian.org Git - gnome-shell.git/commit
portalHelper: Add extra check for policy decision type
authorMichael Catanzaro <mcatanzaro@redhat.com>
Sun, 27 Jul 2025 15:35:58 +0000 (17:35 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 13 Sep 2025 16:54:47 +0000 (18:54 +0200)
commit6fbcad9180930f874f511db27c8f27e476a8b90b
tree0008effb98fece72835524c16596d232e4e81d78
parentaa415bdb543864d4f95cebe10318a9a6d82a4447
portalHelper: Add extra check for policy decision type

This check will always be true currently, because there are only three
possible types of policy decisions, and both of the others are already
handled above. But if new policy decision types are ever added in the
future, then we probably don't want to execute this code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3813>
(cherry picked from commit c9a93ec66ee722d58aeb3727eb7d606b3704b79b)
js/portalHelper/main.js